package cn.edu.scau.dropship.controller;

import cn.edu.scau.dropship.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @Autowired
    private UserService userService;

    @RequestMapping("/404")
    public String page404() {
        return "404";
    }

    //登录、注册
    @RequestMapping("/login")
    public String login() {
        return "login";
    }
    @RequestMapping("/register")
    public String register() {
        return "register";
    }


    //首页
    @RequestMapping("/admin")
    public String admin() {
        return "admin";
    }


    //个人中心
    @RequestMapping(value = "/adminInfo")
    public String adminInfo() {
        return "adminInfo";
    }
    @RequestMapping("/updateAdminInfo")
    public String updateAdminInfo() {
        return "updateAdminInfo";
    }
    @RequestMapping("/updateAdminPwd")
    public String updateAdminPwd() {
        return "updateAdminPwd";
    }

    //用户管理
    @RequestMapping("/userCenter")
    public String userCenter() {
        return "adminuserCenter";
    }
    @RequestMapping("/deleteUser")
    public String deleteUser() {
        return "deleteUser";
    }

    //角色管理
    @RequestMapping("/role")
    public String role() {
        return "role";
    }
    @RequestMapping("/menu_distribute")
    public String menu_distribute() {
        return "menu_distribute";
    }

    //菜单管理
    @RequestMapping("/TestMenu")
    public String TestMenu() {
        return "/TestMenu";
    }
    @RequestMapping("/menu")
    public String menu() {
        return "menu";
    }
    @RequestMapping("/addMenu")
    public String addMenu() {
        return "addMenu";
    }
    @RequestMapping("/deleteMenu")
    public String deleteMenu() {
        return "deleteMenu";
    }
    @RequestMapping("/editMenu")
    public String editMenu() {
        return "editMenu";
    }

    //数据字典
    @RequestMapping("/dictionary")
    public String dictionary() {
        return "dictionarytest";
    }
    @RequestMapping("/addDict")
    public String addDict() {
        return "addDict";
    }
    @RequestMapping("/editDict")
    public String editDict() {
        return "editDict";
    }


    //参数
    @RequestMapping("/parameter")
    public String parameter() {
        return "parametertest";
    }
    @RequestMapping("/addPara")
    public String addPara() {
        return "addPara";
    }
    @RequestMapping("/editPara")
    public String editPara() {
        return "editPara";
    }


    //财务审核
    @RequestMapping("/finance")
    public String finance() {
        return "finance";
    }
    @RequestMapping("/checkFin")
    public String checkFin() {
        return "checkFin";
    }


    //钱包管理
    @RequestMapping("/registerWallet")
    public String registerWallet() {
        return "registerWallet";
    }
    @RequestMapping("/walletInfo")
    public String walletInfo() {
        return "bvowalletInfo";
    }
    @RequestMapping("/walletUpdatePw")
    public String updateWalletPw() {
        return "walletUpdatePw";
    }
    @RequestMapping("/walletlist")
    public String walletlist() {
        return "bvowalletlist";
    }
    @RequestMapping("/walletCashout")
    public String walletCashout() {
        return "walletCashout";
    }




    //借卖方信息
    @RequestMapping("/sellUserMes")
    public String sellUserMes() {
        return "sellUserMes";
    }
    @RequestMapping("/updateUserMes")
    public String updateUserMes() {
        return "updateUserMes";
    }

    //店铺
    @RequestMapping("/storeMes")
    public String storeMes() {
        return "storeMes";
    }
    @RequestMapping("/addStore")
    public String addStore() {
        return "addStore";
    }

    //商品浏览
    @RequestMapping("/getGoodList")
    public String getGoodList() {
        return "getGoodList";
    }
    @RequestMapping("/goodsToStore")
    public String goodsToStore() {
        return "goodsToStore";
    }

    //心愿单
    @RequestMapping("/wishlist")
    public String wishlist() {
        return "wishMes";
    }


    //订单
    @RequestMapping("/myOrder")
    public String myOrder() {
        return "myOrder";
    }
    @RequestMapping("/sendNo")
    public String sendNo() {
        return "sendNo";
    }
    @RequestMapping("/pay")
    public String pay() {
        return "pay";
    }
    @RequestMapping("/orderOfGoods")
    public String orderOfGoods() {
        return "orderOfGoods";
    }






    /*
    品牌商
     */
    //首页
    @RequestMapping("/mvoindex")
    public String mvoindex(){
        return "mvoindex";
    }
    @RequestMapping("/mvocompany")
    public String mvocompany(){
        return "mvocompany";
    }
    @RequestMapping("/mvobrand")
    public String mvobrand(){
        return "mvobrand";
    }
    @RequestMapping("/mvouploadgoods")
    public String mvouploadgoods(){
        return "mvouploadgoods";
    }
    @RequestMapping("/mvogoodsDetail")
    public String mvogoodsDetail(){
        return "mvogoodsDetail";
    }
    @RequestMapping("/mvoaddGoods")
    public String mvoaddGoods(){
        return "mvoaddGoods";
    }
    @RequestMapping("/mvoupdateGoods")
    public String mvoupdateGoods(){
        return "mvoupdateGoods";
    }
    @RequestMapping("/mvogoods")
    public String mvogoods(){
        return "mvogoods";
    }
    @RequestMapping("/mvoorder")
    public String mvoorder(){
        return "mvoorder";
    }
    @RequestMapping("/mvowalletInfo")
    public String mvowalletInfo(){
        return "mvowalletInfo";
    }
    @RequestMapping("/mvowalletlist")
    public String mvowalletlist(){
        return "mvowalletlist";
    }
    @RequestMapping("/mvoregisterWallet")
    public String mvoregisterWallet(){
        return "mvoregisterWallet";
    }



    @RequestMapping("/walletCashin")
    public String walletCashin(){
        return "bvowalletCashin";
    }
    @RequestMapping("/bvoindex")
    public String bvoindex(){
        return "bvoindex";
    }
}
